package com.zhq.okhttp.bean;

/***
 * Http统一解析实体bean
 */
public class HttpBeanResponse {
    private String message;
    private int statusCode;
    private boolean success;
    private String data;

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public int getStatusCode() {
        return statusCode;
    }

    public void setStatusCode(int statusCode) {
        this.statusCode = statusCode;
    }

    public boolean isSuccess() {
        return success;
    }

    public void setSuccess(boolean success) {
        this.success = success;
    }

    public String getData() {
        return data;
    }

    public void setData(String data) {
        this.data = data;
    }
    @Override
    public String toString() {
        return "HttpRequest{" +
                ", msg=" + message+
                ", errCode=" + statusCode +
                ", data='" + data + '}';
    }
}
